package com.lixi.mc.service;

import com.lixi.mc.domain.Blog;
import net.rubyeye.xmemcached.GetsResponse;

/**
 * @author
 */
public interface BlogMcService {
    Boolean set(String key, Blog blog);
    Boolean set(String key, Blog blog, int exptime);
    Boolean delete(String key);
    Blog get(String key);
    GetsResponse<Blog> gets(String key);
    Boolean cas(String key, int exp, Blog value, long cas);
}
